package com.ruitu.health_1.view;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.os.Build;
import android.util.AttributeSet;
import android.widget.LinearLayout;

import java.util.jar.Attributes;

import static android.graphics.Color.WHITE;

public class TopConcaveLinearLayout extends LinearLayout {
    private Paint mPaint;

    public TopConcaveLinearLayout(Context context, AttributeSet attributes) {
        super(context,attributes);
        mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
//        mPaint.setDither(true);
        mPaint.setColor(WHITE);
        mPaint.setStyle(Paint.Style.FILL);
    }

    @Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);

    }
}
